package com.linewell.mobile.model;

public class User implements java.io.Serializable {

	private static final long serialVersionUID = 8870030369199499365L;
	private Integer custId; // 客户编号
	private Integer depId; // 用户所在单位或部门
	private String userName; // 客户姓名
	private String phone;	//手机
	private String depName;	//部门名称
	private String address;	//收货地址
	private String location;	//地理位置
	private String openId; // 用户的标识
	private Integer sex; // 用户的性别，值为1时是男性，值为2时是女性，值为0时是未知
	private String headImgurl; // 用户头像，最后一个数值代表正方形头像大小（有0、46、64、96、132数值可选，0代表640*640正方形头像），用户没有头像时该项为空。若用户更换头像，原有头像URL将失效。
	
	public User() {

	}

	public User(Integer custId, Integer depId, String userName, String phone, String depName, String address,
			String openId, String nickName, Integer sex, String headImgurl) {
		super();
		this.custId = custId;
		this.depId = depId;
		this.userName = userName;
		this.phone = phone;
		this.depName = depName;
		this.address = address;
		this.openId = openId;
		this.sex = sex;
		this.headImgurl = headImgurl;
	}

	public User(String openId,String userName,String location) {
		super();
		this.openId = openId;
		this.userName = userName;
		this.location = location;
	}

	public Integer getCustId() {
		return custId;
	}
	public void setCustId(Integer custId) {
		this.custId = custId;
	}
	public Integer getDepId() {
		return depId;
	}
	public void setDepId(Integer depId) {
		this.depId = depId;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getDepName() {
		return depName;
	}
	public void setDepName(String depName) {
		this.depName = depName;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public Integer getSex() {
		return sex;
	}
	public void setSex(Integer sex) {
		this.sex = sex;
	}
		
		public String getHeadImgurl() {
			return headImgurl;
	}
	public void setHeadImgurl(String headImgurl) {
		this.headImgurl = headImgurl;
	}
	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
}
